package com.rongke.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * @OptionOrder
 * @(option_order)
 * @version : Ver 1.0
 */
@TableName("option_order")
public class OptionOrder implements Serializable {
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public Date getExpiringDate() {
		return expiringDate;
	}

	public void setExpiringDate(Date expiringDate) {
		this.expiringDate = expiringDate;
	}

//	private String productionName;
//	private String underlying;

	/**
	 * @备注:
	 * @字段:id BIGINT(19)
	 */

	@TableId(type = IdType.AUTO)
	private Long id;

	/**
	 * @备注：到期日
	 * @字段：expiring_date
	 */
	private Date expiringDate;

	/**
	 * @备注:
	 * @字段:user_id BIGINT(19)
	 */
	private Long userId;


	/**
	 * @备注:
	 * @字段:create_datetime DATETIME(19)
	 */
	private java.util.Date createDatetime;


	/**
	 * @备注:
	 * @字段:update_datetime DATETIME(19)
	 */
	private java.util.Date updateDatetime;


	/**
	 * @备注:
	 * @字段:md_option_id BIGINT(19)
	 */
	private Long mdOptionId;


	/**
	 * @备注:类型：1-看涨 2-看跌
	 * @字段:type INT(10)
	 */
	private Integer type;


	/**
	 * @备注:买入类型：1-市价 2-限价
	 * @字段:buy_type INT(10)
	 */
	private Integer buyType;


	/**
	 * @备注:买入价格
	 * @字段:buy_price FLOAT(12)
	 */
	private Float buyPrice;


	/**
	 * @备注:订单状态：1-申请中 2-已成交 3-撤单 4-已结算
	 * @字段:status INT(10)
	 */
	private int status;


	/**
	 * @备注:名义金额
	 * @字段:nominal_money FLOAT(12)
	 */
	private Float nominalMoney;


	/**
	 * @备注:实际金额
	 * @字段:real_money FLOAT(12)
	 */
	private Float realMoney;


	/**
	 * @备注:管理周期
	 * @字段:cycle_time BIGINT(19)
	 */
	private Integer cycleTime;


	/**
	 * @备注:结算时间
	 * @字段:finish_time DATETIME(19)
	 */
	private java.util.Date finishTime;


	/**
	 * @备注:成交时间
	 * @字段:pass_time DATETIME(19)
	 */
	private java.util.Date passTime;


	/**
	 * @备注:一级代理利润
	 * @字段:channel_one_profit FLOAT(12)
	 */
	private Float channelOneProfit;


	/**
	 * @备注:二级代理利润
	 * @字段:channel_two_profit FLOAT(12)
	 */
	private Float channelTwoProfit;


	/**
	 * @备注:三级代理利润
	 * @字段:channel_three_profit FLOAT(12)
	 */
	private Float channelThreeProfit;


	/**
	 * @备注:结算价格
	 * @字段:finish_price FLOAT(12)
	 */
	private Float finishPrice;


	public OptionOrder(){
	}

	public OptionOrder(
		Long id
	){
		this.id = id;
	}



	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return this.id;
	}


	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getUserId() {
		return this.userId;
	}


	public void setCreateDatetime(java.util.Date createDatetime) {
		this.createDatetime = createDatetime;
	}

	public java.util.Date getCreateDatetime() {
		return this.createDatetime;
	}


	public void setUpdateDatetime(java.util.Date updateDatetime) {
		this.updateDatetime = updateDatetime;
	}

	public java.util.Date getUpdateDatetime() {
		return this.updateDatetime;
	}


	public void setMdOptionId(Long mdOptionId) {
		this.mdOptionId = mdOptionId;
	}

	public Long getMdOptionId() {
		return this.mdOptionId;
	}


	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getType() {
		return this.type;
	}


	public Integer getBuyType() {
		return buyType;
	}

	public void setBuyType(Integer buyType) {
		this.buyType = buyType;
	}

	public Float getBuyPrice() {
		return buyPrice;
	}

	public void setBuyPrice(Float buyPrice) {
		this.buyPrice = buyPrice;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getStatus() {
		return this.status;
	}


	public void setNominalMoney(Float nominalMoney) {
		this.nominalMoney = nominalMoney;
	}

	public Float getNominalMoney() {
		return this.nominalMoney;
	}


	public void setRealMoney(Float realMoney) {
		this.realMoney = realMoney;
	}

	public Float getRealMoney() {
		return this.realMoney;
	}


	public void setCycleTime(Integer cycleTime) {
		this.cycleTime = cycleTime;
	}

	public Integer getCycleTime() {
		return this.cycleTime;
	}


	public void setFinishTime(java.util.Date finishTime) {
		this.finishTime = finishTime;
	}

	public java.util.Date getFinishTime() {
		return this.finishTime;
	}


	public void setPassTime(java.util.Date passTime) {
		this.passTime = passTime;
	}

	public java.util.Date getPassTime() {
		return this.passTime;
	}


	public void setChannelOneProfit(Float channelOneProfit) {
		this.channelOneProfit = channelOneProfit;
	}

	public Float getChannelOneProfit() {
		return this.channelOneProfit;
	}


	public void setChannelTwoProfit(Float channelTwoProfit) {
		this.channelTwoProfit = channelTwoProfit;
	}

	public Float getChannelTwoProfit() {
		return this.channelTwoProfit;
	}


	public void setChannelThreeProfit(Float channelThreeProfit) {
		this.channelThreeProfit = channelThreeProfit;
	}

	public Float getChannelThreeProfit() {
		return this.channelThreeProfit;
	}


	public void setFinishPrice(Float finishPrice) {
		this.finishPrice = finishPrice;
	}

	public Float getFinishPrice() {
		return this.finishPrice;
	}
}
